<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台欢迎页</title>
    <link rel="stylesheet" href="/static/css/reset.css" />
    <link rel="stylesheet" href="/static/css/content.css" />
</head>
<body marginwidth="0" marginheight="0">
<div class="container">
    <div class="public-content">
        <div class="public-content-header">
            <h3><a href="{:url('admin/index/CarWashAdd?type=1')}">添加洗车</a></h3>
        </div>
        <div class="public-content-cont">
            <form action="{:url('admin/index/CarWashAddTo')}" enctype="multipart/form-data" method="post">
                <input type="hidden" name="wa_type" value="{$type}">
                <div class="form-group">
                    <label for="">店铺名称</label>
                    <select type="text" name="vs_name" value="">
                        {volist name="$shop" id="vo"}
                        <option value="{$vo.ma_name}">{$vo.ma_name}</option>
                        {/volist}
                    </select>
                </div>
                <div class="form-group">
                    <label for="">标准</label>
                    <select type="text" name="vs_standard" value="">
                        {volist name="$fenlei" id="vo"}
                        <option value="{$vo.wa_standard}">{$vo.wa_standard}</option>
                        {/volist}
                    </select>
                </div>
                <div class="form-group">
                    <label for="">车型</label>
                    <select type="text" name="vs_model" value="">
                        {volist name="$fenlei" id="vo"}
                        <option value="{$vo.wa_model}">{$vo.wa_model}</option>
                        {/volist}
                    </select>
                </div>
                <div class="form-group">
                    <label for="">使用说明</label>
                    <input class="form-input-txt" type="text" name="vs_content" value="" />
                </div>
                <div class="form-group">
                    <label for="">上传图片</label>
                    <input type="file" name="vs_picture"  /> <br>
                </div>
                <div class="form-group">
                    <label for="">价格</label>
                    <input class="form-input-txt" type="text" name="vs_price" value="" />
                </div>
                <div class="form-group">
                    <label for="">库存</label>
                    <input class="form-input-txt" type="text" name="vs_surplus" value="" />
                </div>
                <div class="form-group">
                    <input type="hidden" name="vs_type" value="{$type}" />
                </div>
                <div class="form-group" style="margin-left:150px;">
                    <input type="submit" class="sub-btn" value="提  交" />
                </div>
            </form>
        </div>
    </div>
</div>
<script src="../kingediter/kindeditor-all-min.js"></script>
<script>
    KindEditor.ready(function(K) {
        window.editor = K.create('#editor_id');
    });
</script>
</body>
</html>